           <?php 
           
           echo '<pre>';
           //$credit['group']// diem tong cua group
           //$credit['id']// diem tong cua id
          // print_r($credit);
           echo '</pre>';
           ?>  
<div class="content_article"  id="acct">
           <div class="mota">
            <div class="img_list_group">
                Danh sách Account của thành viên <span style="color: red;"><?php if(!empty($us)){echo $us->username;}?></span>
            </div>
           </div>
                
                <table class="tb_group clearfix">
                     <form>
                        <tr>
                           <th class="first_id"><a title="id" href="#" class="order">id</a></th>
                            <th><a title="title" href="#" class="order">Username</a></th>
                            <th><a title="email" href="#" class="order">Email</a></th>                            
                            <th><a title="ip" href="#" class="order">ip</a></th>
                            
                            <th><a title="" href="#" class="">Total</a></th>
                            <th><a title="" href="#" class="">curent</a></th>
                            <th><a title="" href="#" class="">pending</a></th>
                            <th><a title="view" href="#">View</a></th>
                            <th class="tb_check"><input class="checkall" type="checkbox" /></th>
                        </tr>
                        <?php
                        if(!empty($dulieu)){
                            foreach($dulieu as $dulieu){?>                                
                         <tr>
                            <td class="first_id"><?php echo $dulieu->id;?></td>
                            <td><a href="<?php echo base_url().'mod_group/acountmem/'.$dulieu->id;?>" target="_blank"><?php echo $dulieu->username;?></a></td>
                            <td><?php echo $dulieu->email;?></td>                            
                            <td><?php echo $dulieu->ip;?></td>
                            <td class="total_td">$ <?php echo $dulieu->total;?></td>
                            <td class="curent_td">$ <?php echo $dulieu->curent;?></td>
                            <td class="pending_td">$ <?php echo $dulieu->pending;?></td>
                            <td><?php
                             echo '<a href="'.base_url().'group/credit/'.$dulieu->id.'">';
                             echo '<img src="'.base_url().'temp/admin/images/view.png"/>';
                             ?></td>
                            <td class="tb_check"><input type="checkbox" name="checkb[]" value="<?php echo $dulieu->id;?>" /></td>
                        </tr>   
                                
                        <?php    }
                        }
                        ?>
                       </form>                          
                    </table><!-- end table content--> 
                    <ul class="phantrang clearfix" style="margin: 0;">
                        <?php echo $this->pagination->create_links();?>
                    </ul>
                   
                   
</div>